Host

The host property returns the current instance of Pyramid that the client is connected to.

pyramidEmbedApi.host: string
  • Use this property to retrieve the current host that a given embed client is connected to..

Example

The following initializes a new embed client for the target instance of Pyramid. The host property returns "https://analytics.pyramid.com"

var client = new pyramidEmbedClient("https://analytics.pyramid.com"); var hostString = client.host;